You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve GitSync bindings under /wp-content/... through WP_CONTENT_DIR instead of assuming content lives under ABSPATH.
Keep non-content bindings rooted under ABSPATH, with containment checks using the matching binding root.
Cover managed-host content-directory layouts in the GitSync smoke test.
Verification
php tests/smoke-gitsync.php
git diff --check
AI assistance
AI assistance: Yes
Tool(s): OpenCode (GPT-5.5)
Used for: Diagnosed the WP Cloud GitSync path failure, drafted the path-resolution fix and smoke coverage, and ran verification; Chris remains responsible for review and testing.
CI note: Audit/Lint/Test are currently failing before repo code runs. The jobs die while GitHub prepares actions/download-artifact@v4 from the reusable Extra-Chill/homeboy-action@v2 workflow:
An action could not be found at the URI 'https://codeload.github.com/actions/download-artifact/tar.gz/d3f86a106a0bac45b974a628896c90dbdf5c8093'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/wp-content/...throughWP_CONTENT_DIRinstead of assuming content lives underABSPATH.ABSPATH, with containment checks using the matching binding root.Verification
php tests/smoke-gitsync.phpgit diff --checkAI assistance